#include <pantheios/pantheios.hpp>

#include <iostream>
using namespace std ;

/* Define the stock front-end process identity, so that it links when using
 * fe.N, fe.simple, etc. */
PANTHEIOS_EXTERN_C const char PANTHEIOS_FE_PROCESS_IDENTITY[] = "pant.cpp.whq";
 
int main(int argc, char** argv)
{
    int n = 0;
    while(1)
    {
        n++ ;
        cout<< n << endl ;
        pantheios::log_NOTICE("Hello world");
    }
 
  return EXIT_SUCCESS;
}

